import Home from '@/components/ef/home'
import Edit from '@/components/ef/panel.vue'
import Run from '@/components/ef/panelRun'
import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const router =  new VueRouter({
  routes:  [
    {
      path: '/',
      redirect:'/home'
    },
    {
      path: '/run',
      name : 'panelRun',
      component:Run
    },
    {
      path: '/edit',
      name : 'panel',
      component:Edit
    },
        {
      path: '/home',
      name:'home',
      component:Home
    },
  ]
})

export default router
